package com.nuoniu.sibanyun.entity.work;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 工作报表
 * </p>
 *
 * @author baiqiang
 * @since 2020-08-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("oa_workreport")
@ApiModel(value="WorkReportForm对象", description="工作报表")
public class WorkReportForm extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "类型1:日报 2:周报 3:月报 4年报 5自定义")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "报表内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "报表内容2")
    @TableField("next_content")
    private String nextContent;

    @ApiModelProperty(value = "评价内容")
    @TableField("evaluation_content")
    private String evaluationContent;

    @ApiModelProperty(value = "评价等级")
    @TableField("evaluation_level")
    private String evaluationLevel;

    @TableField("evaluation_date")
    private LocalDateTime evaluationDate;

    @ApiModelProperty(value = "文档")
    @TableField("files")
    private String files;

    @ApiModelProperty(value = "报送id")
    @TableField("submit_id")
    private Integer submitId;

    @ApiModelProperty(value = "报送名称")
    @TableField("submit_name")
    private String submitName;

    @TableField("submit_date")
    private LocalDateTime submitDate;

    @ApiModelProperty(value = "抄送人id")
    @TableField("cc_id")
    private String ccId;

    @ApiModelProperty(value = "抄送人名称")
    @TableField("cc_name")
    private String ccName;

    @ApiModelProperty(value = "机构id")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "机构名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "关联业务")
    @TableField("associated_business")
    private String associatedBusiness;

    @ApiModelProperty(value = "状态0:未发送 1:已发送 2:未报")
    @TableField("status")
    private Integer status;

    @TableField("read_status")
    private Integer readStatus;

    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("create_user_name")
    private String createUserName;

    @TableField("create_date")
    private Date createDate;

    @TableField("begin_date")
    private String beginDate;

    @TableField("end_date")
    private String endDate;

    @TableField("company_id")
    private Integer companyId;

    @TableField(exist = false)
    private String year;

    @TableField(exist = false)
    private String month;

    @TableField(exist = false)
    private Integer tabKey;

    @TableField(exist = false)
    private String createUserIds;
}
